package com.soft.springhrms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

/**
 * @TableName positions
 */
@TableName(value = "positions")
@Data
public class Positions implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer departmentId;
    @TableField(exist = false)
    private String departmentName;
    @TableField(exist = false)
    private Integer positionCount;
}